package com.kws.commercial.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kws.commercial.dao.CommercialEquipmentLedger;
import com.kws.commercial.dao.Info.ExportEquipmentLedgerInfo;
import com.kws.commercial.dao.Info.QueryEquipmentLedgerInfo;

import java.util.List;

public interface CommercialEquipmentLedgerService extends IService<CommercialEquipmentLedger> {
    PageInfo<QueryEquipmentLedgerInfo> queryEquipmentLedgerPage(Integer pageNum, Integer pageSize, String deviceNo, String schemeName);

    boolean importEquipmentLedger(List<CommercialEquipmentLedger> commercialEquipmentLedgers);

    QueryEquipmentLedgerInfo queryEquipmentLedgerById(Long id);

    List<ExportEquipmentLedgerInfo> queryEquipmentLedgerList();
}
